using NFreeMarker.Template;

namespace NFreeMarker.Core
{
    /**
     * A subclass of TemplateException that 
     * indicates that the internals expected an expression
     * to evaluate to a boolean value and it didn't.
     * @author <a href="mailto:jon@revusky.com">Jonathan Revusky</a>
     */

    public class NonBooleanException : TemplateException
    {
        public NonBooleanException(Environment env)
            : base("expecting boolean value here", env)
        {
        }

        public NonBooleanException(string description, Environment env)
            : base(description, env)
        {
        }
    }
}